<?php Yii::app()->clientScript->registerScript('info',"
    var jobid='$model->jobid';

    ",CClientScript::POS_HEAD);?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/app/customerPortal/jobsdocuments.js',CClientScript::POS_BEGIN);?>
<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/app/customerPortal/jobupdate.js',CClientScript::POS_BEGIN);?>

<div id="left-col">
    <?php 
    $this->renderPartial('_side',array(
        'location'=>$model->location,
        'customer'=>$model->location->customer,
        'job'=>$model,
        'action'=>'update'
    ));
    
  
    ?>    
</div>

<div id="right-col">

    <div class="wrap">
        <div class="container">

            
            <div id="breadcrumb" style="display:none;"><span style="padding-left:10px;font-size:10px;color:#777777;" id="alsoviewing"></span></div>
            <div class="inside">

                <?php $this->renderPartial('_view',array(
                    'model'=>$model,
                ));?>
                <div id="panel"></div>
                <ul id="tab" class="tabs tabs-with-summary">
                    <li class="active"><a id="tabNoteLink" href="#tabNote">Notes</a></li>
                    <li><a href="#" class="inactive-tab">Billing</a></li>
                    <li><a href="#" class="inactive-tab">PO's</a></li>

                    
                </ul>
                <div id="tab1"></div>
                <div id="tabNote">
                    <br/>
                    
                    <div id="notes-list" class="">
                        
                    </div>
                </div>
               
                
              
            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
     <?php $this->renderPartial('application.views.copyright'); ?>
</div> <!-- left-col -->